/**
 * 配色
 */
@textTitleColor: #caccd1;
@indexTextColor: #aeb0b5;
@titleColor: rgba(0, 0, 0, 0.85);



.heartbeat {
  display: inline-block;
  -webkit-animation: animation-heartbeat 1.3s ease 0s infinite normal;
  animation: animation-heartbeat 1.3s ease 0s infinite normal
}

@-webkit-keyframes animation-heartbeat {
  0%, 28%, 70% {
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  14%, 42% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3)
  }
}

@keyframes animation-heartbeat {
  0%, 28%, 70% {
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  14%, 42% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3)
  }
}

// 文字n行+省略号
.maxLine(@n) {
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2!important;
  /* autoprefixer: off */
  -webkit-box-orient: vertical!important;
  /* autoprefixer: on */
}

// 文字一行+省略号
.oneLine(){
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

// 背景图片居中显示
.centerBackground(){
  background: no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
}